#include <stdio.h>
#include <time.h>

void myFunction();

clock_t start, stop;
double duration;

int main(int argc, const char *argv[]) {
    start = clock();
    myFunction();
    stop = clock();
    duration = ((double)(stop-start)) / CLOCKS_PER_SEC;

    printf("%s%.6f\n", "Duration: ", duration);

    return 0;
}

void myFunction() {

    printf("%s\n", "this is program is used to test run time.");
}
